package com.ldcc.report_system.api.results;

import java.util.List;

public class LoginUserResults {
    private List<String> dataScopes;
    private List<String> roles;
    private User user;

    public LoginUserResults() {
    }

    public LoginUserResults(List<String> dataScopes, List<String> roles, User user) {
        this.dataScopes = dataScopes;
        this.roles = roles;
        this.user = user;
    }

    public List<String> getDataScopes() {
        return dataScopes;
    }

    public void setDataScopes(List<String> dataScopes) {
        this.dataScopes = dataScopes;
    }

    public List<String> getRoles() {
        return roles;
    }

    public void setRoles(List<String> roles) {
        this.roles = roles;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "UserResults{" +
                "dataScopes=" + dataScopes +
                ", roles=" + roles +
                ", user=" + user +
                '}';
    }
}

